import { Canvas, Meta } from "@storybook/blocks";
import Example from "./example.tsx";
import * as DetailContent from "./DetailContent.stories.tsx";

<Meta of={DetailContent} title="components/detail-content" />

# DetailContent

DetailContent component with different props.

#### Example

<Canvas of={DetailContent.CombinationUse} />

## Usage

```ts
import {DetailContent} from "mg-react-component-lib";

const Example = () => {
  return (
      <DetailContent>
      In the process of internal desktop applications development, many different design specs and implementations would be involved, which might cause designers and developers difficulties and duplication and reduce the efficiency of development. After massive project practice and summaries, Ant Design, a design language for background applications, is refined by Ant UED Team, which aims to uniform the user interface specs for internal background projects, lower the unnecessary cost of design differences and implementation and liberate the resources of design and front-end development.
      </DetailContent>
  );
};

export default Example;
```

#### Arguments

##### DetailContent

- **maxWidth** - 设置内容区域的宽度，默认值为1168px.
- **bgColor** - 设置内容区域的背景色，默认值为 #fff.

##### DetailContent.Title

- **leftExtra** - 设置内容区域中标题旁的提示区域.
- **rightExtra** - 设置内容区域中标题右边的操作区域.

